package com.meaningful.design_pattern.chain_of_responsibility.validation;

import com.meaningful.design_pattern.chain_of_responsibility.User;


public class Main {

    public static void main(String[] args) throws Exception {
        User user = new User("张三", 11);
        Validator validator = new Validator();
        validator.validate(user);
    }

}
